package cn.ztydata.teachingsystem.webservice.result.json;

/**
 * Json 数据传输封装
 * Created by chenxin on 2014/12/9.
 */
public class JsonResultId extends JsonResult{
    private long dataId; //数据ID

    public JsonResultId(final long dataId) {
        super(true, "");
        this.dataId = dataId;
    }

    public JsonResultId(final long dataId, String message) {
        super(true, message);
        this.dataId = dataId;
    }

    public JsonResultId(boolean status, String message) {
        super(status, message);
        this.dataId = 0;
    }

    public Long getDataId() {
        return dataId;
    }
}
